// src/pages/Users/Details.jsx
import { useParams } from 'react-router-dom';

export default function Details() {
  const { id } = useParams(); // 获取动态参数
  return <div>User ID: {id}</div>;
}
